package com.example.yilu1;

import com.baidu.mapapi.model.LatLng;

public class Good {
    private boolean is_selected;
    private String name;
    private int imageId;
    private int platformImageId;
    private String shopName;
    private LatLng latLng;

    Good(String n, int id, String sn){
        is_selected=false;
        name=n;
        imageId=id;
        platformImageId=R.drawable.drawable_default;
        shopName=sn;
    }

    Good(String n, int id, int pid, String sn){
        is_selected=false;
        name=n;
        imageId=id;
        platformImageId=pid;
        shopName=sn;
    }

    Good(String n, int id, int pid, String sn,LatLng ll){
        is_selected=false;
        name=n;
        imageId=id;
        platformImageId=pid;
        shopName=sn;
        latLng=ll;
    }

    public boolean getIsSelected(){ return is_selected; }
    public void setIsSelected(boolean val){is_selected=val;}

    public String getName(){
        return name;
    }

    public int getImageId(){
        return imageId;
    }

    public int getPlatformImageId(){
        return platformImageId;
    }

    public String getShopName(){
        return shopName;
    }

    public LatLng getLatLng(){
        return latLng;
    }
}
